<?php
    if (isset($message) && $message!=''){
     echo "<div style='position:relative; left:200px;'><font color=red>$message</font></div><br />";
    }
?>
<div class="art-post">
	<div class="art-post-tl"></div>
	<div class="art-post-tr"></div>
	<div class="art-post-bl"></div>
	<div class="art-post-br"></div>
	<div class="art-post-tc"></div>
	<div class="art-post-bc"></div>
	<div class="art-post-cl"></div>
	<div class="art-post-cr"></div>
	<div class="art-post-cc"></div>
	<div class="art-post-body">
	<div class="art-post-inner art-article">  
<center><a href="<?php echo Utility::getSiteUrl(); ?>/album/detail/<?php echo $albumID ?>">[Quay lại]</a></center>
<br />
    <form action="<?php echo Utility::getSiteUrl(); ?>/album/item/<?php echo $albumID ?>/<?php echo $item->id ?>" method="post">
    <table style="width:100%">
        <tr>
            <td width="60px">Mô tả</td>
            <td><input type="text" maxlength="100" size="45" name="description" value="<?php echo $item->description ?>" /></td>
        </tr>
        <tr>
            <td>Link</td>
            <td><input type="text" maxlength="100" size="45" name="link" value="<?php echo $item->link ?>" /></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="Cập nhật" /></td>
        </tr>
    </table>
    </form>
    <img src='<?php echo Utility::baseUrl(); ?>/public/images/<?php echo (isset($item->image))?$item->image:"default.png"; ?>' alt='<?php echo $item->description; ?>' title='<?php echo $item->description; ?>' />

	</div>
  </div>
  
		<div class="cleared"></div>
	  </div>
  </div>
<br />
